﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Classsix
{
    class Farther
    {
        private string name { get; set; }
        private string nikename { get; set; }
        private string horeinfo { get; set; }
        private int attack { get; set; }
        private int defense { get; set; }
        private int speed { get; set; }

        //public Farther() { }
        public Farther(string name, string nikename, string horeinfo, int attack, int defense, int speed)
        {

            this.name = name;
            this.nikename = nikename;
            this.horeinfo = horeinfo;
            this.attack = attack;
            this.defense = defense;
            this.speed = speed;
        }

        public void Farthertest()
        {
            Console.WriteLine($"我的名字是{this.name}，我的昵称是{this.nikename}，我的信息是{this.horeinfo}，" +
                $"我的攻击力为{this.attack}，我的防御力为{this.defense}，我的速度为{ this.speed}");
        }
    }
}